home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- set the cursor of sprite the currentSpriteNum to [the number of member "hand", the number of member "handmask"]
- set the member of sprite 16 to "rolloversVolume"
- end
-
- on mouseDown me
- global gVidVol
- repeat while the stillDown
- set the locV of sprite the currentSpriteNum to the mouseV
- set plaice to float((the locV of sprite 28 - the bottom of sprite 27) * -1000 / the height of sprite 27) / 1000
- set the volumeLevel of sprite(7) to plaice * 255
- updateStage()
- end repeat
- set gVidVol to the volume of sprite 7
- end
-
- on mouseLeave
- set the cursor of sprite the currentSpriteNum to 0
- set the puppet of sprite 16 to 0
- end
-